package com.bifrost.entity;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the SYSTEM_HELPCENTER database table.
 */
@Entity
@Table(name = "SYSTEM_HELPCENTER",indexes = {
        @Index(name = "MERCHANT_ID_CODE_INDEX",columnList = "MERCHANT_ID,CODE",unique = true)
})
@NamedQuery(name = "SystemHelpcenter.findAll", query = "SELECT s FROM SystemHelpcenter s")
public class SystemHelpcenter implements Serializable {
    private static final long serialVersionUID = 1L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "HELPCENTER_ID", unique = true, nullable = false)
    private Long helpcenterId;

    @Lob
    @Column(name = "HELPCENTER_CONTENT")
    private String helpcenterContent;

    @Column(name = "HELPCENTER_IMG")
    private Long helpcenterImg;

    @Column(name = "HELPCENTER_TITLE", nullable = false, length = 100)
    private String helpcenterTitle;

    @Column(name = "META_TITLE", length = 100)
    private String metaTitle;

    @Column(name = "SORT_ORDER")
    private int sortOrder;

    @Column(name ="MERCHANT_ID")
    private Long merchantId;
    @Column(name = "CODE", length = 32,nullable = false)
    private String code;

    public SystemHelpcenter() {
    }

    public Long getHelpcenterId() {
        return this.helpcenterId;
    }

    public void setHelpcenterId(Long helpcenterId) {
        this.helpcenterId = helpcenterId;
    }

    public String getHelpcenterContent() {
        return this.helpcenterContent;
    }

    public void setHelpcenterContent(String helpcenterContent) {
        this.helpcenterContent = helpcenterContent;
    }

    public Long getHelpcenterImg() {
        return helpcenterImg;
    }

    public void setHelpcenterImg(Long helpcenterImg) {
        this.helpcenterImg = helpcenterImg;
    }

    public String getHelpcenterTitle() {
        return this.helpcenterTitle;
    }

    public void setHelpcenterTitle(String helpcenterTitle) {
        this.helpcenterTitle = helpcenterTitle;
    }

    public String getMetaTitle() {
        return this.metaTitle;
    }

    public void setMetaTitle(String metaTitle) {
        this.metaTitle = metaTitle;
    }

    public int getSortOrder() {
        return this.sortOrder;
    }

    public void setSortOrder(int sortOrder) {
        this.sortOrder = sortOrder;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}